package design.p20_state;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-20 10:30
 **/
public class State {

    private String value;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void state1(){
        System.out.println("state1~~~");
    }
    public void state2(){
        System.out.println("state2~~~");
    }
}

